package com.ktwlrj.core.feign.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 定金管理获取合同信息
 *
 * @author lisc
 */
@Data
public class DepositContractDto implements Serializable {
    private static final long serialVersionUID = 9004006413131253901L;
    /**
     * 网签编号（签约时生成唯一）
     */
    @ApiModelProperty(name = "netSignCode", value = "网签编号（签约时生成唯一）")
    private String netSignCode;
    /**
     * 备案编号（内网生成）
     */
    @ApiModelProperty(name = "recordNo", value = "备案编号（内网生成）")
    private String recordNo;

    /**
     * 网签状态：0.草稿 1.发起网签 2.已网签(全部确认) 3.网签受理中 4.网签失败 -1.撤销网签
     */
    @ApiModelProperty(name = "signStatus", value = "网签状态：0.草稿 1.发起网签 2.已网签(全部确认)3.网签受理中 4.网签失败-1.撤销网签")
    private Integer signStatus;

    /**
     * 备案状态：0.未开始备案,1.备案受理,2.备案成功,3.备案失败,4.备案撤销
     */
    @ApiModelProperty(name = "recordStatus", value = "备案状态：0.未开始备案,1.备案受理,2.备案成功,3.备案失败,4.备案撤销")
    private Integer recordStatus;

    /**
     * 备案时间
     */
    @ApiModelProperty(name = "recordTime", value = "备案时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date recordTime;


    /**
     * 合同监管码
     */
    @ApiModelProperty(name = "supervisionCode", value = "合同监管码")
    private String supervisionCode;


    /**
     * 预售证号码
     */
    @ApiModelProperty(name = "presellNumber", value = "预售证号码")
    private String presellNumber;


    /**
     * 网签日期
     */
    @ApiModelProperty(name = "submitDate", value = "网签日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date submitDate;

    /**
     * 开发商统一社会信息码
     */
    @ApiModelProperty(name = "developerCredit", value = "开发商统一社会信息码")
    private String developerCredit;
    /**
     * 开发商名称
     */
    @ApiModelProperty(name = "developerName", value = "开发商名称")
    private String developerName;


    /**
     * 房屋编号
     */
    @ApiModelProperty(name = "houseId", value = "房屋编号")
    private String houseId;

    /**
     * 房屋门牌号
     */
    @ApiModelProperty(name = "houseDoorNumber", value = "房屋门牌号")
    private String houseDoorNumber;

    /**
     * 房屋坐落
     */
    @ApiModelProperty(name = "address", value = "房屋坐落")
    private String address;


    /**
     * 销售总价（元）
     */
    @ApiModelProperty(name = "salePrice", value = "销售总价（元）")
    private Double salePrice;

    /**
     * 销售单价（元/平）
     */
    @ApiModelProperty(name = "unitPrice", value = "销售单价（元/平）")
    private Double unitPrice;

    /**
     * 套内面积
     */
    @ApiModelProperty(name = "withinArea", value = "套内面积")
    private Double withinArea;

    /**
     * 建筑面积
     */
    @ApiModelProperty(name = "constructionArea", value = "建筑面积")
    private Double constructionArea;

    /**
     * 首付款
     */
    @ApiModelProperty(name = "firstPay", value = "首付款")
    private Double firstPay;

    /**
     * 预售资金账号
     */
    @ApiModelProperty(name = "advanceSaleAccount", value = "预售资金账号")
    private String advanceSaleAccount;

    /**
     * 预售资金监管开户行
     */
    @ApiModelProperty(name = "advanceSaleBank", value = "预售资金监管开户行")
    private String advanceSaleBank;
}
